﻿//-----------------------------------------------------------------------
// <copyright>
//     Copyright (c) Artur Mustafin. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace Expressions.Compiler.Interfaces
{
    using System.Collections.Generic;

    /// <summary>
    /// Interface for the expression tree node
    /// </summary>
    public interface IExpressionTree<T> where T : IExpressionTree<T>
    {
        /// <summary>
        /// Gets the children nodes.
        /// </summary>
        /// <value>The children.</value>
        IEnumerable<T> Children { get; }
    }
}
